package com.wuseguang.springcloud.entity;

import java.io.Serializable;

import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 学生兑换记录
 * </p>
 *
 * @author 
 * @since 2020-06-19
 */
@Entity
@Data
public class StudentExchangeRecord  {

    private static final long serialVersionUID = 1L;

    /**
     * 学生兑换信息id
     */
	@Id
	@GeneratedValue(strategy= GenerationType.IDENTITY)
	private Integer id;
    /**
     * 兑换学生
     */
	private Integer studentId;
    /**
     * 兑换学生名称
     */
	private String studentName;
    /**
     * 奖品id
     */
	private Integer prizeId;
    /**
     * 0学生已兑换,1已撤销,2教师已确定
     */
	private Integer state;
	/**
	 * 班级id
	 */
	private Integer classId;
	/**
	 * 添加时间
	 */
	private Date addTime;
	/**
	 * 0未查看,1已查看
	 */
	private Integer whether;
}
